/* 顶部登录 */
.top-login{
    width: 100%;
    height: 61px;
}
.login{
    position: absolute;
    right: 20px;
    top: 7px;
    width: 44px;
    height: 44px;
    border: 1px solid #aaa;
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.login:hover{
    cursor: pointer;
}
.login img{
    width: 100%;
}

/* 三个功能模块 */
.function{
    width: 100%;
    height: 29px;
    line-height: 29px;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-around;
    font-size: 16px;
}
.news{
    display: inline-block;
    height: 29px;
}
.news:hover {
    cursor: pointer;
}
.news-pic{
    width: 32px;
    height: 29px;
}
.recommend{
    display: inline-block;
    height: 29px;
}
.recommend:hover {
    cursor: pointer;
}
.recommend-pic{
    width: 27px;
    height: 28px;
}
.history{
    display: inline-block;
    height: 29px;
}
.history:hover {
    cursor: pointer;
}
.history-pic{
    width: 28px;
    height: 28px;
}

/* 分隔条 */
.seprate{
    width: 100%;
    height: 42px;
    background: linear-gradient(90deg, #fefbef 0%, #cbf5fb 100%);
}
.summary{
    display: block;
    padding-top: 10px;
    text-align: center;
    font-size: 16px;
}
.summary:hover {
    cursor: pointer;
}



/* ---------------->中间消息框----------------> */
.main{
    margin: 25px 0 20px 0;
    padding: 0 30px;
    width: 100%;
    height: 660px;
    max-height: 660px;
    overflow: hidden;
    overflow-y: scroll;
    font-size: 16px;
    line-height: 22px;
    /* 换行 */
    word-wrap: break-word;
    word-break: normal;
}
.nl{
    position: relative;
    z-index: 999;
    margin: 17px 0 0 0;
    padding: 14px 20px;
    width: 100%;
    border-radius: 20px 20px 20px 0;
    background: linear-gradient(90deg, #d5f6fc, #8dbffc);
}
.nr {
    position: relative;
    z-index: 999;
    margin: 17px 0 0 0;
    padding: 14px 20px;
    border-radius: 20px 20px 0 20px;
    /* background: linear-gradient(90deg, #fce083, #f7f5c1); */
    background: linear-gradient(90deg, #FFF585, #F5F5A9);
}
/* 发送消息框内的图片 */
.sendpic {
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.sendpic img {
    width: 100%;
}
.history-chat{
    position: absolute;
    width: 100%;
    top: 148px;
    color: #378df5;
    font-size: 15px;
    display: flex;
    justify-content: center;
    margin-left: -30px;
}
.history-chat:hover{
    cursor: pointer;
}

/* ---------------->底部发送消息----------------> */
.message{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 44px;
}
.message .message-input{
    padding: 0 0 0 20px;
    width: 75vw;
    height: 43px;
    margin: 0 2px 0 10px;
    border-radius: 22px;
    border: 1px solid #aaa;
}
.mes-btn{
    width: 37px;
    height: 37px;
}
.pic-btn{
    display: inline-block;
    position: relative;
    left: 8px;
    width: 30px;
    height: 28px;
    background: url(../img/side-selectpic.png) no-repeat;
    background-size: 100% 100%;
}
.pic-btn .select{
    opacity: 0;
}
.message .pic-selected{
    position: absolute;
    z-index: 99999;
    top: 760px;
    left: 11px;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.message .pic-selected img{
    width: 100%;
}

/* ---------------->推荐----------------> */
.main-recommend {
    display: none;
    margin: 20px 20px;
    height: 670px;
    max-height: 670px;
    font-size: 16px;
    overflow: hidden;
    overflow-y: scroll;
}
/* .knowledgePoints{
    font-size: 18px;
    font-weight: 700;
} */
.problem{
    position: relative;
    z-index: 999;
    margin: 0 0 20px 0;
    padding: 10px 15px;
    width: 100%;
    /* border-bottom: 2px solid #ccc; */
    font-size: 15px;
    border: 1px solid #2EA8FF;
    border-radius: 15px;
    background-color: #FFF;
}
.problem .question{
    margin: 0 0 10px 0;
}
.problem .question span{
    font-weight: 700;
}
.problem .fill {
    margin: 0 0 10px 0;
    height: 35px;
    font-size: 14px;
}
.problem .knowledgePoint {
    margin: 0 0 10px 0;
}
.problem .knowledgePoint span{
    font-weight: 700;
}
.problem .answer {
    margin: 0 0 5px 0;
    color: #4c99f7;
}
.submit-answer{
    position: absolute;
    bottom: 22px;
    width: 90%;
    height: 30px;
    font-size: 16px;
}

/* ---------------->历史记录----------------> */
.main-history {
    display: none;
    margin: 20px 20px;
    height: 700px;
    max-height: 700px;
    overflow: hidden;
    overflow-y: scroll;
    font-size: 15px;
}
.problem .my-answer{
    margin: 0 0 10px 0;
}

/* ---------------->图片定位----------------> */
/* .side-logo{
    position:absolute;
    top: 13px;
    left: 22px;
    width: 95px;
    height: 33px;
    background: url(../img/side-logo.png) no-repeat;
    background-size: 100% 100%;
} */
.side-logo1 {
    position: absolute;
    top: 13px;
    left: 22px;
    width: 133.3px;
    height: 36px;
    background: url(../img/logo1.png) no-repeat;
    background-size: 100% 100%;
}
.side-logo1:hover {
    cursor: pointer;
}
.side-smoke{
    position:absolute;
    top: 140px;
    left: 10px;
    width: 94.73px;
    height: 53.61px;
    background: url(../img/side-smoke.png) no-repeat;
    background-size: 100% 100%;
    z-index: 0;
}
.side-lantern {
    position: absolute;
    top: 191px;
    left: 19px;
    width: 63.4px;
    height: 232.62px;
    background: url(../img/side-lantern.png) no-repeat;
    background-size: 100% 100%;
}
/* .side-sun{
    position: absolute;
    top: 680px;
    right: 5px;
    width: 142px;
    height: 137px;
    background: url(../img/side-sun.png) no-repeat;
    opacity: .7;
    background-size: 100% 100%;
} */
.side-border {
    position: absolute;
    top: 756px;
    right: 17px;
    width: 70px;
    height: 70px;
    background: url(../img/side-border.png) no-repeat;
    opacity: .7;
    background-size: 100% 100%;
}
.side-circle1 {
    position: absolute;
    top: 243px;
    right: -146px;
    width: 367px;
    height: 367px;
    background: url(../img/side-circle1.png) no-repeat;
    background-size: 100% 100%;
}
.side-circle2 {
    position: absolute;
    top: 400px;
    left: -170px;
    width: 446px;
    height: 446px;
    background: url(../img/side-circle2.png) no-repeat;
    background-size: 100% 100%;
}

/* 元宇宙形象 */
.appear {
    /* display: none; */
    z-index: 9999;
    position: absolute;
    top: 350px;
    right: 10px;
    width: 110px;
    height: 96px;
    background: url(../img/side-appear.png) no-repeat;
    background-size: 100% 100%;
}

.cover {
    display: none;
    z-index: 99999;
    position: absolute;
    top: 137px;
    left: 0px;
    width: 100%;
    height: 763px;
    /* background: url(../img/side-cover1.png) no-repeat; */
    background-color: #ffe0e0;
    background-size: 100% 100%;
}

.su {
    display: none;
    z-index: 99999;
    position: absolute;
    top: 147px;
    left: 3%;
    height: 743px;
    width: 94%;
    background-color: #fff;
    border: 1px solid #2EA8FF;
    border-radius: 30px;
    padding: 20px;
    line-height: 30px;
    font-size: 16px;
}
